package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 工艺派工-流程主(工艺)对象 main_process_craft_dispatch_flow
 *
 * @author qijian
 * @date 2024-09-26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_process_craft_dispatch_flow")
public class ProcessCraftDispatchFlow extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String title;

    @Excel(name = "流程编号")
    @ApiModelProperty(value = "流程编号")
    private String number;

    @Excel(name = "申请人")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "申请人")
    private Long applyId;

    @Excel(name = "申请人名")
    @ApiModelProperty(value = "申请人名")
    private String applyName;

    @Excel(name = "申请部门id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "申请部门id")
    private Long applyDeptId;

    @Excel(name = "申请部门名")
    @ApiModelProperty(value = "申请部门名")
    private String applyDeptName;

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(value = "${column.columnComment}")
    private String remark;

}
